<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>wwwApp: DBResult_Postgresql Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">wwwApp
   </div>
   <div id="projectbrief">A web app for workshop organizing, recruitment and qualification</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">DBResult_Postgresql Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for DBResult_Postgresql:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classDBResult__Postgresql.png" usemap="#DBResult_Postgresql_map" alt=""/>
  <map id="DBResult_Postgresql_map" name="DBResult_Postgresql_map">
<area href="classDBResult__SQL.html" alt="DBResult_SQL" shape="rect" coords="0,56,128,80"/>
<area href="classDBResult.html" alt="DBResult" shape="rect" coords="0,0,128,24"/>
</map>
 </div></div>

<p><a href="classDBResult__Postgresql-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3fbc244dac682bf3a72015348d8cb6f4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#a3fbc244dac682bf3a72015348d8cb6f4">__construct</a> ($<a class="el" href="classDB.html">DB</a>, $resultResource)</td></tr>
<tr class="memitem:aa2089b6d4687194e39107ca738a8fde3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#aa2089b6d4687194e39107ca738a8fde3">rewind</a> ()</td></tr>
<tr class="memitem:a2a99f1721b7284a5ce264a1497cc8079"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#a2a99f1721b7284a5ce264a1497cc8079">valid</a> ()</td></tr>
<tr class="memitem:a6b30ca0c95b4ee3a73782ad33085b932"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#a6b30ca0c95b4ee3a73782ad33085b932">key</a> ()</td></tr>
<tr class="memitem:abba9dd676c95a2719e80e5610d76e3f6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#abba9dd676c95a2719e80e5610d76e3f6">current</a> ()</td></tr>
<tr class="memitem:a8f06815635fcabb7c70751b4ef5a408a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#a8f06815635fcabb7c70751b4ef5a408a">next</a> ()</td></tr>
<tr class="memitem:a0e38325eb55607dea2d44147e983111c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#a0e38325eb55607dea2d44147e983111c">count</a> ()</td></tr>
<tr class="memitem:a6ae671abe03764929d5f665c38b8c863"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#a6ae671abe03764929d5f665c38b8c863">affected_rows</a> ()</td></tr>
<tr class="memitem:acef54e49c60affe0d26bf92da6be6f98"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#acef54e49c60affe0d26bf92da6be6f98">fetch_assoc</a> ($n=null)</td></tr>
<tr class="memitem:aa2985373bca530e3f86d5d2056e02e5f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#aa2985373bca530e3f86d5d2056e02e5f">fetch_vector</a> ($n=null)</td></tr>
<tr class="memitem:a19e57fb62c28116f5e89e9ef3d0242d0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#a19e57fb62c28116f5e89e9ef3d0242d0">fetch_all</a> ()</td></tr>
<tr class="memitem:aaef008467c9ebceb85ce72c80a9ce43b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#aaef008467c9ebceb85ce72c80a9ce43b">fetch_column</a> ($column=null)</td></tr>
<tr class="inherit_header pub_methods_classDBResult__SQL"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classDBResult__SQL')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classDBResult__SQL.html">DBResult_SQL</a></td></tr>
<tr class="memitem:a52277a00472077fd48ae700eb7bde1ed inherit pub_methods_classDBResult__SQL"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__SQL.html#a52277a00472077fd48ae700eb7bde1ed">fetch</a> ($n=null)</td></tr>
<tr class="inherit_header pub_methods_classDBResult"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classDBResult')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classDBResult.html">DBResult</a></td></tr>
<tr class="memitem:abce0b9c7276aab683d8a962b6d0bd9e8 inherit pub_methods_classDBResult"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult.html#abce0b9c7276aab683d8a962b6d0bd9e8">fetch_int</a> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:aaad736521ef8638a7ff2aaeeafa119c8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#aaad736521ef8638a7ff2aaeeafa119c8">$count</a> = 0</td></tr>
<tr class="memitem:aa7498300e33e7a65a23ca9269281bba3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#aa7498300e33e7a65a23ca9269281bba3">$i</a> = 0</td></tr>
<tr class="memitem:a36c327d7317fa4d53f9af3061d6d2229"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDBResult__Postgresql.html#a36c327d7317fa4d53f9af3061d6d2229">$value</a> = null</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00071">71</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3fbc244dac682bf3a72015348d8cb6f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::__construct </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$DB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$resultResource</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classDBResult.html#a19568f26e9c48c53ec54d68697338412">DBResult</a>.</p>

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00077">77</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                <a class="code" href="classDBResult__Postgresql.html#a3fbc244dac682bf3a72015348d8cb6f4">parent::__construct</a>(<a class="code" href="classDBResult.html#a672dee4bc8dada3fecf2b4f306ece3ef">$DB</a>, <a class="code" href="classDBResult.html#af3f8b2a7d0016fb9479da02a018b2044">$resultResource</a>);</div>
<div class="line">                $this-&gt;<a class="code" href="classDBResult__Postgresql.html#a0e38325eb55607dea2d44147e983111c">count</a> = $this-&gt;<a class="code" href="classDBResult__Postgresql.html#a0e38325eb55607dea2d44147e983111c">count</a>();</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a6ae671abe03764929d5f665c38b8c863"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::affected_rows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classDBResult__SQL.html#a63cddb3aa4f54a220f835dfd4d9c0434">DBResult_SQL</a>.</p>

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00106">106</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> pg_affected_rows($this-&gt;resultResource); }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a0e38325eb55607dea2d44147e983111c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00105">105</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>

<p>Referenced by <a class="el" href="postgresql_8php_source.html#l00077">__construct()</a>, <a class="el" href="postgresql_8php_source.html#l00093">next()</a>, and <a class="el" href="postgresql_8php_source.html#l00090">valid()</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> pg_num_rows($this-&gt;resultResource); }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="abba9dd676c95a2719e80e5610d76e3f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::current </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00092">92</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> <a class="code" href="classDBResult__Postgresql.html#a36c327d7317fa4d53f9af3061d6d2229">$this-&gt;value</a>; }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a19e57fb62c28116f5e89e9ef3d0242d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::fetch_all </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classDBResult.html#aca1c3d35c16329e9057e428e02718768">DBResult</a>.</p>

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00120">120</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                $result = pg_fetch_all($this-&gt;resultResource);</div>
<div class="line">                <span class="comment">// pg_fetch_all returns false for empty results. We should check for errors here.</span></div>
<div class="line">                <span class="keywordflow">if</span> (!$result)  <span class="keywordflow">return</span> array();</div>
<div class="line">                <span class="keywordflow">return</span> $result;</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="acef54e49c60affe0d26bf92da6be6f98"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::fetch_assoc </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$n</em> = <code>null</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classDBResult.html#a5bfb23fc09017f8e72ceacbaf7b4f98c">DBResult</a>.</p>

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00108">108</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>

<p>Referenced by <a class="el" href="postgresql_8php_source.html#l00093">next()</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                <span class="keywordflow">if</span> (is_null($n))  <span class="keywordflow">return</span> pg_fetch_assoc($this-&gt;resultResource);</div>
<div class="line">                <span class="keywordflow">else</span>  <span class="keywordflow">return</span> pg_fetch_assoc($this-&gt;resultResource, $n);</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aaef008467c9ebceb85ce72c80a9ce43b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::fetch_column </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$column</em> = <code>null</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classDBResult.html#ab6e8be6e7a71b0ddf01facfd6d0694ff">DBResult</a>.</p>

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00128">128</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                <span class="keywordflow">if</span> (is_null($column))</div>
<div class="line">                        <span class="keywordflow">return</span> pg_fetch_all_columns($this-&gt;resultResource);</div>
<div class="line">                <span class="keywordflow">else</span></div>
<div class="line">                        <span class="keywordflow">return</span> <a class="code" href="classDBResult__Postgresql.html#aaef008467c9ebceb85ce72c80a9ce43b">parent::fetch_column</a>($column);</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aa2985373bca530e3f86d5d2056e02e5f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::fetch_vector </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$n</em> = <code>null</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classDBResult.html#aedb1521f16fa3d27c64f22da18d7c7e1">DBResult</a>.</p>

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00114">114</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                <span class="keywordflow">if</span> (is_null($n))  <span class="keywordflow">return</span> pg_fetch_row($this-&gt;resultResource);</div>
<div class="line">                <span class="keywordflow">else</span>  <span class="keywordflow">return</span> pg_fetch_row($this-&gt;resultResource, $n);</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a6b30ca0c95b4ee3a73782ad33085b932"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::key </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00091">91</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> <a class="code" href="classDBResult__Postgresql.html#aa7498300e33e7a65a23ca9269281bba3">$this-&gt;i</a>; }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a8f06815635fcabb7c70751b4ef5a408a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::next </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00093">93</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>

<p>Referenced by <a class="el" href="postgresql_8php_source.html#l00083">rewind()</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                <span class="comment">// PostgreSQL stores result resources in a way which</span></div>
<div class="line">                <span class="comment">// doesn&#39;t make jumping through rows inefficient</span></div>
<div class="line">                <span class="comment">// (so we&#39;re not assuming we can just fetch_assoc() to get the next row by default).</span></div>
<div class="line">                ++<a class="code" href="classDBResult__Postgresql.html#aa7498300e33e7a65a23ca9269281bba3">$this-&gt;i</a>;</div>
<div class="line">                <span class="keywordflow">if</span> ($this-&gt;i &lt; $this-&gt;<a class="code" href="classDBResult__Postgresql.html#a0e38325eb55607dea2d44147e983111c">count</a>)</div>
<div class="line">                        $this-&gt;value = $this-&gt;<a class="code" href="classDBResult__Postgresql.html#acef54e49c60affe0d26bf92da6be6f98">fetch_assoc</a>($this-&gt;i);</div>
<div class="line">                <span class="keywordflow">else</span></div>
<div class="line">                        $this-&gt;value = null;</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aa2089b6d4687194e39107ca738a8fde3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::rewind </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00083">83</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                <span class="comment">// TODO pg_result_seek($this-&gt;resultResource, 0); and fetch_assoc()</span></div>
<div class="line">                <span class="comment">// instead of jumping through rows</span></div>
<div class="line">                $this-&gt;i = -1;</div>
<div class="line">                $this-&gt;<a class="code" href="classDBResult__Postgresql.html#a8f06815635fcabb7c70751b4ef5a408a">next</a>();</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a2a99f1721b7284a5ce264a1497cc8079"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::valid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00090">90</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> ($this-&gt;i &lt; $this-&gt;<a class="code" href="classDBResult__Postgresql.html#a0e38325eb55607dea2d44147e983111c">count</a>); }</div>
</div><!-- fragment -->
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aaad736521ef8638a7ff2aaeeafa119c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::$count = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00073">73</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>

</div>
</div>
<a class="anchor" id="aa7498300e33e7a65a23ca9269281bba3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::$i = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00074">74</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>

<p>Referenced by <a class="el" href="postgresql_8php_source.html#l00091">key()</a>, and <a class="el" href="postgresql_8php_source.html#l00093">next()</a>.</p>

</div>
</div>
<a class="anchor" id="a36c327d7317fa4d53f9af3061d6d2229"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DBResult_Postgresql::$value = null</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="postgresql_8php_source.html#l00075">75</a> of file <a class="el" href="postgresql_8php_source.html">postgresql.php</a>.</p>

<p>Referenced by <a class="el" href="postgresql_8php_source.html#l00092">current()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>database/<a class="el" href="postgresql_8php_source.html">postgresql.php</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Sep 8 2013 17:44:57 for wwwApp by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>
